package com.lazyfish.superdir.service;

import com.lazyfish.superdir.dao.StudentDao;
import com.lazyfish.superdir.entity.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StudentSeriveImpl implements StudentService{
    @Autowired
    StudentDao studentDao;

    @Override
    public List<Student> getStudentList() {
        return studentDao.getStudentList();
    }
}
